<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="ch09.person.domain.Person" %>
<jsp:useBean id="personService" class="ch09.person.service.PersonService" scope="session"/>
<%
	int id = Integer.parseInt(request.getParameter("id"));
	Person person = personService.selectPerson(id);	
%>
<form action="UpdateProc.jsp">
	아이디: <input type="text" name="id" value="<%= person.getId() %>" readonly><br>
	이&nbsp;&nbsp;름: <input type="text" name="name" value="<%= person.getName() %>"><br><br>
	<input type="submit" value="수정"/>
	<a href="DeleteProc.jsp?id=<%=id%>"><input type="button" value="삭제"/></a>
</form>